package com.beta.service.impl;

import org.springframework.stereotype.Service;

import com.beta.mapper.BankAccountsMapper;
import com.beta.entity.BankAccounts;
import com.beta.service.IBankAccountsService;
import com.baomidou.framework.service.impl.SuperServiceImpl;

/**
 *
 * BankAccounts 表数据服务层接口实现类
 *
 */
@Service
public class BankAccountsService extends SuperServiceImpl<BankAccountsMapper, BankAccounts> implements IBankAccountsService {
    @Override
    public BankAccounts getBankAccounts(Integer userId) {
       return selectOne(new BankAccounts().setUserId(userId));
    }
}